package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-10-17  10:06
 */
public class User {
    public String name;
    private String secret;
    public static int count = 0;

    public User(String name) {
        this.name = name;
    }

    public String getSecret() {
        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public void getUser() {
        System.out.println("用户名：" + this.name +  "\n" + "口令：" + this.secret);
    }
}
